package entity;

/**
 * Created by Administrator on 16-1-13.
 */
public class SchoolMarketHeadEntity {

    /**
     * code : 1000
     * msg : 请求成功
     * data : {"id":1,"imgUrl":"http://img.taotaosou.cn/size/image16/M05/02/CB/CgAAQ1aTIyoIAAAAAADrmwwynjwAATQmgFNLYMAAOuz170.jpg","title":"校园超市","link":"http://m.haolingzui.com/zhuanti/88?apk=app"}
     */

    private int code;
    private String msg;
    /**
     * id : 1
     * imgUrl : http://img.taotaosou.cn/size/image16/M05/02/CB/CgAAQ1aTIyoIAAAAAADrmwwynjwAATQmgFNLYMAAOuz170.jpg
     * title : 校园超市
     * link : http://m.haolingzui.com/zhuanti/88?apk=app
     */

    private DataEntity data;

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int id;
        private String imgUrl;
        private String title;
        private String link;

        public void setId(int id) {
            this.id = id;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public int getId() {
            return id;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public String getTitle() {
            return title;
        }

        public String getLink() {
            return link;
        }
    }
}
